Skip to content

Conversation

Dolly132
Copy link

@Dolly132 Dolly132 commented Oct 3, 2025

  • Gets rid of the hardcoding 1d bool array and instead use 2d for client and target
  • Untested

- Gets rid of the hardcoding 1d bool array and instead use 2d for client and target
@Rushaway Rushaway requested a review from Copilot October 11, 2025 00:19
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the chat ignore functionality in the CustomChatColors plugin by replacing a 1D boolean array with a 2D array for better organization and introducing a new native API function. The change improves the API design by providing granular control over ignore settings between specific client-target pairs.

Key changes:

  • Replaces the hardcoded 1D boolean array g_Ignored with a more intuitive 2D array structure
  • Introduces CCC_SetIgnored native function to replace the previous CCC_UpdateIgnoredArray approach
  • Updates version number from 7.4.21 to 7.4.22

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
ccc.inc Updates API definition with new CCC_SetIgnored native and increments patch version
CustomChatColors.sp Implements 2D array structure and new native function with client/target validation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant